package ar.uba.dc.tl.mylanga.interpreter;

public class Point {

	private double x;
	private double y;

	public Point(double x, double y) {
		this.x = x;
		this.y = y;
	}

	public double getX() {
		return this.x;
	}

	public double getY() {
		return this.y;
	}

	@Override
	public String toString() {
		StringBuilder buffer = new StringBuilder();

		buffer.append('(');
		buffer.append(this.x);
		buffer.append(", ");
		buffer.append(this.y);
		buffer.append(')');

		return buffer.toString();
	}
}
